package com.ysu.demo.dto;

import com.ysu.demo.dataobject.College;
import com.ysu.demo.dataobject.Expend;
import com.ysu.demo.dataobject.Income;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * @author ：lhw
 * @date ：Created in 2019/8/22 18:42
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ProjectDTO {

    private Integer id;

    private Date createTime;

    private Date updateTime;

    private Date deleteTime;

    /**
     * 项目名称
     */
    private String name;

    /**
     * 简介
     */
    private String profile;

    /**
     * 立项申请书
     */
    private String catForUrl;

    /**
     * 审批通过书
     */
    private String approveUrl;

    /**
     * 项目负责人
     */
    private String leader;

    /**
     * 结题证书
     */
    private String closeUrl;

    /**
     * 0 待审核
     1 项目存续
     2 项目终止
     */
    private Integer state;

    private Integer collegeId;

    private College college;

    private List<IncomeDTOGoodPeople> incomes;

    private List<ExpendDTOCollege> expends;

}
